<!DOCTYPE html>
<html>
<head>
<title>员工信息修改</title>
#parse("sys/header.html")
	#parse("utils/importExcel.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<div class="form-group col-sm-2">
				<input type="text" class="form-control" v-model="q.oldName" @keyup.enter="query" placeholder="原姓名">
			</div>
			<a class="btn btn-default" @click="query">查询</a>
			#if($shiro.hasPermission("empinfomodify:save"))
			<a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			#end
			#if($shiro.hasPermission("empinfomodify:update"))
			<a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			#end
			#if($shiro.hasPermission("empinfomodify:delete"))
			<a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			#end
			#if($shiro.hasPermission("empinfomodify:list"))
			<a class="btn btn-primary" @click="btnExport"><i class="fa fa-file-excel-o"></i>&nbsp;导出</a>
			#end
			#if($shiro.hasPermission("empinfomodify:import"))
			<a class="btn btn-primary" @click="btnImoprt"><i class="fa fa-folder-open-o"></i>&nbsp;导入</a>
			#end
		</div>
		<div id="jqGrid_list">
	    <table id="jqGrid"></table>
		</div>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">员工编号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empInfoModify.empNo" placeholder="员工编号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">原姓名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empInfoModify.oldEmpName" placeholder="原姓名"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">原身份证号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empInfoModify.oldEmpCardNo" placeholder="原身份证号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">现姓名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empInfoModify.currEmpName" placeholder="现姓名"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">现身份证号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empInfoModify.currEmpCardNo" placeholder="现身份证号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">修改类型</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empInfoModify.changeType" placeholder="修改类型"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">申请人id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empInfoModify.applyPersonId" placeholder="申请人id"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">申请人</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empInfoModify.applyPersonName" placeholder="申请人"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">申请日期</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empInfoModify.applyDate" placeholder="申请日期"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">审核状态</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empInfoModify.applyState" placeholder="审核状态"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">审核人id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empInfoModify.checkPersonId" placeholder="审核人id"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">审核人name</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="empInfoModify.checkPersonName" placeholder="审核人name"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">审核日期</div>
			   	<div class="col-sm-10">
			      <input type="text" class="Wdate" v-model="empInfoModify.checkDate" placeholder="审核日期" onClick="WdatePicker()"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>
<script src="${rc.contextPath}/js/empManage/empinfomodify.js?_${date.systemTime}"></script>
</body>
</html>